#define _CRT_SECURE_NO_WARNINGS 1
#include "SeqList.h"

void test1()
{
	SL s1;
	Intize(&s1);
	SeqListPushback(&s1, 1);
	SeqListPushback(&s1, 2);
	SeqListPushback(&s1, 3);
	SeqListPushback(&s1, 4);
	SeqListPushback(&s1, 5);
	SeqListPushback(&s1, 6);
	SeqListPushback(&s1, 7);
	Print(&s1);
	SeqListPushFront(&s1, 8);
	SeqListPushFront(&s1, 8);
	SeqListPushFront(&s1, 8);
	Print(&s1);

	SeqListPopBack(&s1);
	SeqListPopBack(&s1);
	Print(&s1);

	SeqListPopFront(&s1);
	SeqListPopFront(&s1);
	Print(&s1);
	SeqListpush(&s1, 0, 6);
	Print(&s1);

	SeqListpop(&s1, 3);
	Print(&s1);

	SeqListpop(&s1, 2);
	Print(&s1);


}




int main()
{
	test1();


	return 0;
}